<?php
namespace app\crontab\command;
use app\applet\model\Task;
use think\console\Command;
use think\console\Input;
use think\console\Output;

class Submitorder extends Command {
    protected function configure()
    {
        $this->setName('Submitorder')
            ->setDescription('每1分钟同步一下供应链提交订单');
    }

    protected function execute(Input $input, Output $output)
    {
        $task = new Task();
        $task->submitOrder();
    }
}
